package geppetto.cat.analysis;


import geppetto.cat.corpus.BilingualCorpus;

import java.io.PrintStream;



public class SentenceErrors {

	int _size;

	int _sentenceNr;

	byte _sentenceSource;

	AlignmentError[] _errors;

	int _correctLonelyPoints, _incorrectLonelyPoints;

	public SentenceErrors(int sentenceNr, byte sentenceSource, int foreingSize) {
		_size = foreingSize;
		_sentenceNr = sentenceNr;
		_sentenceSource = sentenceSource;
		_errors = new AlignmentError[foreingSize];
	}

	public int getSize() {
		return _size;
	}

	public AlignmentError getError(int position) {
		return _errors[position];
	}

	public void addError(int foreignPosition, AlignmentError error) {
		_errors[foreignPosition] = error;
	}

	public void output(BilingualCorpus corpus, PrintStream output) {
		output.println("Sentence nr: " + _sentenceNr);

	}

}
